package org.example.demo.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.demo.entity.TrainingLog;

/**
 * 培训日志服务接口
 */
public interface TrainingLogService extends IService<TrainingLog> {

    /**
     * 分页查询培训日志
     * 
     * @param trainingLog 查询条件
     * @param pageNum     页码
     * @param pageSize    每页大小
     * @return 分页结果
     */
    Page<TrainingLog> selectPage(TrainingLog trainingLog, Integer pageNum, Integer pageSize);
}